package com.sjlh.centurylianhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Module {
    @TableId(type= IdType.AUTO)
    private Integer id;//模块编号

    private String moduleName;//模块名称

    private Integer parentId;//父模块编号

    private Integer isChildNode;//是否子节点

    private Integer isParentNode;//是否父节点

    private String moduleIcon;//模块图标

    private Integer weight;//模块权重
}
